package com.dingding.service.activity.core.sql;

public class ActivityShareSQL {
	/**
	 * 增加活动的统计次数
	 * 用户分享链接，点击参与活动的人数，每次调用一次增加1
	 * 
	 * @author cw
	 * 
	 */
	public static final String UPDATE_ACTIVITY_RELEVANCE_NUMBER = "UPDATE activityrelevance  SET  activityNumber = activityNumber + 1 WHERE userId = ?  and activityId = ? ";

	
	/**
	 * 修改用户是否已经参与过活动的状态
	 * 活动状态改成 2
	 * 
	 * @author cw
	 * 
	 */
	public static final String UPDATE_ACTIVITY_RELEVANCE_STATE = "UPDATE activityrelevance  SET  isAttendActivity = 2 WHERE userId = ?  and activityId = ? ";

}
